<?php

interface iApp
{
	/**
	* Get the redirect url
	*
	* @return string
	*/
	public function getRedirectUrl();

	/**
	* Request for access token
	*
	* @return array keys - oauth_token, oauth_token_secret (optional)
	*/
	public function requestAccessToken($get_token);

	/**
	* Get the access token from the internal session or request it
	*
	* @return array keys - oauth_token, oauth_token_secret (optional)
	*/
	public function getAccessToken($get_token = NULL);
}

# EOF
